<div id="ct_{{ document.id }}">
    {% if url %}
        <div class="alert alert-success"><img src="{{ url }}"></div>
    {% endif %}
    <div class="alert alert-info">
        <p style="margin-top: 10px; margin-left: 10px; margin-right: 10px; letter-spacing: 3px; line-height: 20px; text-indent: 33px;">
            {{ content|safe }}
        </p>
        <ul class="quick-links">
            {% for att in document.attachments %}
            <li><a data-toggle="modal" href="#myModal">{{ att.name }}</a></li>
            {% endfor %}
        </ul>
    </div>
</div>